package com.mycat.chat.two.msg;

import com.mycat.chat.two.msg.base.Message;

/**
 * 用户登陆消息
 *
 * @author roger.
 * @email 190642964@qq.com
 * @create 2017-02-24
 */
public class MessageLogin extends Message {

    public MessageLogin(String type, String userCode, String password) {
        super(type);
        this.userCode = userCode;
        this.password = password;
    }

    private String userCode;
    private String password;

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "MessageLogin{" +
                "userCode='" + userCode + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
